---
title: 'CLI'
description: Learn more to use the Saas CLI command to generate and install components
---

The Saas UI CLI can be used to generate typings for your custom theme tokens,
like colors, semantic tokens, recipe variants, etc.

## Installation

In order to use the CLI, you need to install it as a dev dependency in your
project:

:::code-group

```bash [npm]
npm i -D @saas-ui/cli
```

```bash [yarn]
yarn add -D @saas-ui/cli
```

```bash [pnpm]
pnpm add -D @saas-ui/cli
```

```bash [bun]
bun add -d @saas-ui/cli
```

:::

## Usage

Use the Saas CLI to run any of the commands listed below with your preferred
package manager.

```bash
Usage: sui [options] [command]

The official Saas UI CLi

Options:
  -V, --version               output the version number
  -h, --help                  display help for command

Commands:
  add [options] <source>  Install a component, block or template
```
